/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package client.beans;

import javax.ejb.Stateless;
import javax.faces.bean.ManagedBean;

/**
 *
 * @author efim
 */
@ManagedBean
@Stateless
public class AuthBean {
    
    private String accessToken;

    /**
     * Get the value of accessToken
     *
     * @return the value of accessToken
     */
    public String getAccessToken() {
        return accessToken;
    }

    /**
     * Set the value of accessToken
     *
     * @param accessToken new value of accessToken
     */
    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }
    
    private long userId;

    /**
     * Get the value of userId
     *
     * @return the value of userId
     */
    public long getUserId() {
        return userId;
    }

    /**
     * Set the value of userId
     *
     * @param userId new value of userId
     */
    public void setUserId(long userId) {
        this.userId = userId;
    }

}
